// Output.cpp : implementation file
//

#include "stdafx.h"
#include "ImageLab.h"
#include "Output.h"


// COutput dialog

IMPLEMENT_DYNAMIC(COutput, CDialog)

COutput::COutput(CWnd* pParent /*=NULL*/)
	: CDialog(COutput::IDD, pParent)
	, m_string(_T(""))
{
	m_data1 = 0.0;
	m_data2 = 0.0;
	m_data3 = 0.0;
	m_data4 = 0.0;
	m_string = CString("");
	::AfxInitRichEdit2();
}

COutput::~COutput()
{
}

void COutput::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	DDX_Text(pDX, IDC_DATA1, m_data1);
	DDX_Text(pDX, IDC_DATA2, m_data2);
	DDX_Text(pDX, IDC_DATA3, m_data3);
	DDX_Text(pDX, IDC_DATA4, m_data4);
	DDX_Text(pDX, IDC_RICHEDIT21, m_string);
}


BEGIN_MESSAGE_MAP(COutput, CDialog)
END_MESSAGE_MAP()


// COutput message handlers

//set the rich edit box to be readonly for displaying message only
void COutput::SetRichEditReadOnly(void)
{
	return;
}

